.PanelGroupWrapper {
  height: 20rem;
}
.PanelGroupWrapper[data-short] {
  height: 10rem;
}
.PanelGroupWrapper[data-tall] {
  height: 30rem;
}

.PanelGroup {
  font-size: 2rem;
}

.Panel {
  display: flex;
  flex-direction: row;
  font-size: 2rem;
}

.PanelColumn,
.PanelRow {
  display: flex;
}
.PanelColumn {
  flex-direction: column;
}
.PanelRow {
  flex-direction: row;
}

.Centered {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-panel-background);
  border-radius: 0.5rem;
  overflow: hidden;
  font-size: 1rem;
  padding: 0.5rem;
  word-break: break-all;
}

.ResizeHandle {
}

.Overflow {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 1rem;

  /* Firefox fixes */
  scrollbar-width: thin;
  scrollbar-color: var(--color-scroll-thumb) transparent;
}

.Button,
.ButtonDisabled {
  background-color: var(--color-button-background);
  color: var(--color-default);
  border: none;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}
.Button:hover {
  background-color: var(--color-button-background-hover);
}
.ButtonDisabled {
  opacity: 0.5;
}

.Buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1ch;
  margin-bottom: 1rem;
}

.Capitalize {
  text-transform: capitalize;
}

.WarningBlock {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1ch;
  background: var(--color-warning-background);
  padding: 0.5em;
  border-radius: 0.5rem;
}
.WarningIcon {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
}

.InlineCode {
  margin-right: 1.5ch;
}
